package com.wangan.wanganpush;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages ={"com.wangan.wanganpush"} )
@EnableScheduling
//@ComponentScan(basePackages = {"com.wangan.wanganpush"})
@EntityScan(basePackages = {"com.wangan.wanganpush.model"})
public class WanganPushApplication {

	public static void main(String[] args) {

		SpringApplication.run(WanganPushApplication.class, args);
	}

}

